<ion-view hide-nav-bar="true" id="new-details">
    <ion-header-bar align-title="center" class="header_special" style="background-size:0;">
        <div class="buttons">
            <yike-back></yike-back>
        </div>
        <div style="text-align:center;width:100%;">
            <span class="main-btn" style="padding:0 10px;margin:0 auto;">计划详情</span>
        </div>
    </ion-header-bar>
    <ion-content style="background-color:#EEEDEC;bottom:0;">
        <div class="num-result">
            <div class="num_result_nav">
                <div class="num-date clearfix" style="padding: 0 10px">
                    <div class="num-lottery fl">
                        第{{pk.num}}期开奖
                    </div>
                    <div class="num-kai fr">
                        第{{thispk}}期开奖倒计时：{{data.time}}
                        <span ng-show="playStatus.pkStatus == 0">正在开奖...</span>
                        <span ng-show="playStatus.pkStatus == 1">{{pktime}}</span>
                        <span ng-show="playStatus.pkStatus == 2">00:00:00</span>
                    </div>
                </div>
                <div class="num-nums clearfix" style="padding: 0 10px">
                    <div class="fl num-item" ng-repeat="con in pk.content track by $index">
                        <div>{{con}}</div>
                    </div>
                </div>
            </div>
        </div>


        <div class="details-title clearfix">
            <div class="fl rest_nav">
                <span>{{name}}</span>
                <!--<span>定5码2期计划</span>-->
            </div>
            <!--<div class="fr">-->
            <!--<img src="img/new-details/setting.png" ng-click="openSearchModal()">-->
            <!--</div>-->
        </div>
        <div class="details-details clearfix">
            <div class="details-item fl">
                <p>{{rightqishu.length+wrongqishu.length || 0}}</p>
                <span>完成周期</span>
            </div>
            <div class="details-item fl">
                <p>{{rightqishu.length || 0}}</p>
                <span>成功</span>
            </div>
            <div class="details-item fl">
                <p>{{rightmax || 0}}</p>
                <span>最大连对</span>
            </div>
            <div class="details-item fl">
                <p>{{wrongqishu.length || 0}}</p>
                <span>失败</span>
            </div>
            <div class="details-item fl">
                <p>{{wrongmax || 0}}</p>
                <span>最大连错</span>
            </div>
            <div class="details-item fl" style="margin-right: 0">
                <p>{{rightrate || 0}}</p>
                <span>准确率</span>
            </div>
        </div>
        <div class="plans-details">
            <div class="periods-container" ng-show="schemeDetails.plan.notes_num != 0  && type == 2">
                <div class="periods-item" ng-repeat="win in latestqushuall">
                    <div class="clearfix">
                        <div class="fl">
                            <span>{{win.win2.qishu}}</span>&nbsp;&nbsp;
                            <span>预测：{{win.win2.content}}</span>
                        </div>
                        <div class="fr period-state">
                            {{win.win2.is_win}}
                        </div>
                    </div>
                    <div class="kai">
                        <div class="clearfix">
                            <div class="fl">{{win.win2.periods + '期 '}}</div>
                            <div class="fl period-num">{{win.win2.num}}</div>
                            <div class="fl clearfix kai_num" ng-repeat="num in win.win2.lotterys">
                                <!--{{win.win2.lottery}}-->
                                <div class="fl kai_nums">{{num}}</div>
                            </div>
                        </div>
                        <!--<div class="clearfix">-->
                            <!--<span class="fl">{{win.win2.periods + '期 '}}</span>-->
                            <!--<span class="period-num fl">{{win.win2.num}}</span>-->
                            <!--<span class="fl">{{win.win2.lottery}}</span>-->
                        <!--</div>-->
                    </div>
                </div>

            </div>
        </div>
    </ion-content>
</ion-view>